import 'package:base/router/router.dart';
import 'package:favorites/page/favorites_page.dart';
import 'package:get/get.dart';

class FavoritesRouter extends IRouterProvider {
  static const FAVORITES_PAGE = "/Favorites";

  static void start() {
    Get.offAllNamed(FAVORITES_PAGE);
  }

  @override
  List<GetPage> initRouter() {
    return [GetPage(name: FAVORITES_PAGE, page: () => FavoritesPage())];
  }
}
